﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CRMBiz;

namespace CRMWeb.Pages
{
    public partial class Summary : CRMWeb.Utilities.BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int cnt = 0,cnt1 = 0;
            if (!IsPostBack)
            {
                cnt = SecurityHandler.GetTotalSecurity(Convert.ToInt32(Request.QueryString["LoanID"].ToString()));
                pnlSecurity.Attributes["title"] = "Security("+ cnt +")";
                cnt1 = ApplicationContactHandler.GetTotalParties(Convert.ToInt32(Request.QueryString["LoanID"].ToString()));
                pnlParties.Attributes["title"] = "Parties(" + cnt1 + ")";
                return;
            }
        }
    }
}